<%@ page contentType="text/html;charset=UTF-8"%>
<%@ page import="org.springside.modules.security.springsecurity.SpringSecurityUtils" %>
<%@ include file="/common/taglibs.jsp"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>用户管理</title>
	<%@ include file="/common/meta.jsp"%>
	<link href="${ctx}/css/default.css" type="text/css" rel="stylesheet"/>
</head>
<body>
<div id="listContent">
	<table>
		<tr>
			<td>客户名称</td>
			<td>客户年龄</td>
			<td>客户地址</td>
			<td>客户电话</td>
			<td>客户手机</td>
			<td>客户传真</td>
			<td>客户性别</td>
			<td>客户公司</td>
			<td>客户态度</td>
			<td>客户信誉</td>
			<td>操作</td>
		</tr>
		<s:iterator value="page.result">
		<tr>
			<td>${name}</td>
			<td>${age}</td>
			<td>${address }</td>
			<td>${tel }</td>
			<td>${mobile }</td>
			<td>${fax }</td>
			<td>${gender }</td>
			<td>${company.name }</td>
			<td>${attitude }</td>
			<td>${credibility }</td>
			<td>
				<a href="customer!input.action?id=${id}">修改</a>、
				<a href="customer!delete.action?id=${id}">删除</a>
			</td>
		</tr>
		</s:iterator>
	</table>
</div>
<div id="search">
	<!--<form action="person!search.action" method="get">

 	公司名: <input type="text" name="filter_EQUAL_no" value="${param['filter_EQUAL_no']}"  size="8"/> 
         规模: <input type="text" name="filter_LIKE_name" value="${param['filter_LIKE_name']}" size="8"/>
        地址: <input type="text" name="filter_EQUAL_cardNo" value="${param['filter_EQUAL_cardNo']}" size="8"/>
	<input type="submit" value="搜索" />
</form>
	--><a href="customer!input.action">添加新客户</a>
</div>
<div id="footer">
	第${page.pageNo}页, 共${page.totalPages}页 
	<s:if test="page.hasPre">
		<a href="person.action?page.pageNo=${page.prePage}">上一页</a>
	</s:if>
	<s:if test="page.hasNext">
		<a href="person.action?page.pageNo=${page.nextPage}">下一页</a>
	</s:if>
	<div><a href="<c:url value="/"/>">返回首页</a></div>
</div>

</body>
</html>